package d0330;

import d0327.Student;
import d0327.TestStudent;

import java.util.*;

public class TestBank<ProduceNum> {
    //要生成多少个随机数
    int num = 100;
    int[] suiji = new int[num];

    //产生随机数组
    public void ProduceNum(){
        for(int i=0;i<num;i++){
            int j = (int)(Math.random()*1000);
            suiji[i] = j;
        }
    }

    /**
     * @param args
     */
    public static void main(String[] args) {
        Sort sort = new Sort();
        sort.ProduceNum();
        Arrays.sort(sort.suiji);

        for(int i=0;i<sort.num;i++){
            System.out.println(sort.suiji[i]);





        }
    }

}
